package exception;

import util.Consts;

public class NameOrPasswordException extends BaseException {
	public NameOrPasswordException() {
		super();
		code = Consts.ERR_NAME_OR_PWD;
	}

	public NameOrPasswordException(String message, Throwable cause) {
		super(message, cause);
		code = Consts.ERR_NAME_OR_PWD;
	}

	public NameOrPasswordException(String message) {
		super(message);
		code = Consts.ERR_NAME_OR_PWD;
	}

	public NameOrPasswordException(Throwable cause) {
		super(cause);
		code = Consts.ERR_NAME_OR_PWD;
	}
}
